package com.hieu.sms.web.utils;

import javax.servlet.http.HttpServletRequest;



public class ParamConvertor {
	/*
    public static TransactionRequestMessage convertToTransReqMesaage(
	    HttpServletRequest req) {
	TransactionRequestMessage requestMessage = new TransactionRequestMessage();
	for (String field : UpopPaymentConfigure.reqVo) {
	    String value = req.getParameter(field);
	    BeanUtilities.setProperty(requestMessage, field, value);
	}
	return requestMessage; 
    }

    public static TransactionResponseMessage convertToTransResMesaage(
	    HttpServletRequest req) {
	TransactionResponseMessage transactionResponseMessage = new TransactionResponseMessage();
	for (String field : UpopPaymentConfigure.notifyVo) {
	    String value = req.getParameter(field);
	    BeanUtilities.setProperty(transactionResponseMessage, field, value);
	}
	return transactionResponseMessage;
    }
    */
}
